<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="gc.js"></script>
<script type="text/javascript">
var scriptElement;
function loadScript()
{
  scriptElement = document.createElement('script');
  scriptElement.src = 'long_script.cgi';
  document.head.appendChild(scriptElement);
}

function unloadScript()
{
    scriptElement.parentElement.removeChild(scriptElement);
}
</script>
</head>
<body>

</body>
</html>
